package com.pie4cloud.pie.bus.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class Log {
	@JsonProperty("id")
	private String id = null;

	@JsonProperty("type")
	private String type = null;

	@JsonProperty("name")
	private String name = null;

	@JsonProperty("message")
	private String message = null;

	@JsonProperty("occur_time")
	private Long occur_time = null;

	@JsonProperty("receive_time")
	private Long receive_time = null;

	@JsonProperty("fields")
	private Map<String, Object> fields = new HashMap<>();
}
